<template>
  <div>
    <header-er />
    <div style="margin-top: 100px">
      <router-view />
    </div>
  </div>
</template>

<script>
import HeaderEr from '../../components/HeaderEr.vue';
export default {
  components: { HeaderEr },
  created() {
    this.axios.get("/employer/get-info", {
      params: {
        username: sessionStorage.getItem("username")
      }
    }).then(res => {
      localStorage.setItem("avatarUrl", res.data.data.avatarUrl);
    })
  }
};
</script>

<style>
</style>